package cn.java59;

import java.util.Scanner;

public class Demo12 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		System.out.println("输入一个正整数:");
		int num = sc.nextInt();
		System.out.println("输出:");

		double num2 = (num * 10 + 5) / 2 + 3.14159;
		int num3 = (int) num2;

		System.out.println(num3);

	}

}
